package com.gis.service;

import java.util.HashMap;
import java.util.List;
import org.springframework.web.multipart.MultipartFile;
import com.baomidou.mybatisplus.extension.service.IService;
import com.gis.entity.ScriptData;

public interface ScriptService extends IService<ScriptData> {
    String runScript(List<String> script) throws Exception;

    HashMap<String, Object> addScript(MultipartFile file, String description, Integer inputNum, Integer outputNum, String outputType, String inputType) throws Exception;

    HashMap<String, Object> addScriptZip(MultipartFile file, String description, Integer inputNum, Integer outputNum, String outputType, String inputType) throws Exception;

    HashMap<String, Object> deleteScript(Integer scriptId) throws Exception;
    

    
}